# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
# Contributor: Francesco Colista <fcolista@alpinelinux.org
pkgname=mate-icon-theme-faenza
pkgver=1.20.0
pkgrel=1
pkgdesc="Faenza desktop icons customized for MATE"
url="https://github.com/mate-desktop/mate-icon-theme-faenza"
arch="noarch"
license="GPL-2.0"
depends="mate-common"
makedepends="icon-naming-utils intltool autoconf automake coreutils"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

prepare() {
	default_prepare
	NOCONFIGURE=1 ./autogen.sh
}

build() {
	DATADIRNAME=share ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="361de34fde13c6a14fdac5aa1af90aa784f639d64c0bf332c18b580cb6b4d1a10d7d188fa6b19ecda125c8bbb1fc5c63ab1d5e9ae31c512f2ec3eea288aa023d  mate-icon-theme-faenza-1.20.0.tar.xz"
